﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UcAsp.WorkFrame
{
    public class Error
    {
        public static void NoFound(string Message)
        {
            WorkFrame.Parser.ErrorLog("UD2002", Message, true);

            System.Web.HttpContext.Current.Response.Headers.Add("StatusCode", "404");
            System.Web.HttpContext.Current.Response.Headers.Add("Status", "HTTP/1.0 404 Not Found");
            System.Web.HttpContext.Current.Response.Write("Not Found<br>");
            System.Web.HttpContext.Current.Response.Write("<br><br><br><br><br><br>");
            System.Web.HttpContext.Current.Response.Write("----------------------------------------------------<br>");
            System.Web.HttpContext.Current.Response.Write("<a href=\"http://www.ud2002.com\">悠点化妆学校</a>");

            System.Web.HttpContext.Current.Response.Close();
        }
    }
}
